<?php

declare(strict_types=1);

/*
 * This file is part of eelly package.
 *
 * (c) eelly.com
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Eelly\SDK\User\Api;

use Eelly\SDK\EellyClient;

class AD
{
    public static function saveCallbackInfo(array $params): bool
    {
        return EellyClient::requestJson('user/aD', __FUNCTION__, ['params' => $params]);
    }

    public static function touTiaoReturnDataAsync(int $userId, string $scene, array $params): array
    {
        return EellyClient::requestJson('user/aD', __FUNCTION__, ['userId' => $userId, 'scene' => $scene, 'params' => $params]);
    }

    public static function touTiaoReturnData(int $userId, string $scene, array $params): array
    {
        return EellyClient::requestJson('user/aD', __FUNCTION__, ['userId' => $userId, 'scene' => $scene, 'params' => $params]);
    }
}
